package com.hpsk.swagger.shejimoshi.test1;

/**
 * @author huangwang2832511019
 */
public abstract class FactoryAbstract {

    public void draw(Factory01Enums factory01Enums) {
        if (factory01Enums == Factory01Enums.FACTORY_01_ENUMS) {
            draw01();
        } else if (factory01Enums == Factory01Enums.FACTORY_02_ENUMS) {
            draw02();
        } else {
            draw();
        }
    }

    public abstract void draw01();

    public abstract void draw02();

    public abstract void draw();
}
